import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)


export default new Vuex.Store({
  state: {
    token:'',
    userInfo:{},
    loggingStatus:false,
  },
  getters: {
    
  },
  mutations: {
    setToken(state,val){
      state.token = val
    },
    setUserInfo(state,val){
      state.userInfo = val
    },
    setLoggingStatus(state,val){
      state.loggingStatus = val
    }
  },
  actions: {
  },
  modules: {
  }
})
